package com.xique.door.event;

import org.springframework.context.ApplicationEvent;

/**
 * @author shd
 * @create 2021/9/10 9:04
 */
public class BuildPermissionGroupCreateEvent extends ApplicationEvent {

    private static final long serialVersionUID = 3964040828036269807L;

    private long parkId;

    private long foreignId;

    private String foreignType;

    private String groupName;

    private String status;

    public BuildPermissionGroupCreateEvent(long parkId, long foreignId, String foreignType, String groupName, String status) {
        super(parkId);
        this.parkId = parkId;
        this.foreignId = foreignId;
        this.foreignType = foreignType;
        this.groupName = groupName;
        this.status = status;
    }

    public long getForeignId() {
        return foreignId;
    }

    public void setForeignId(long foreignId) {
        this.foreignId = foreignId;
    }

    public String getForeignType() {
        return foreignType;
    }

    public void setForeignType(String foreignType) {
        this.foreignType = foreignType;
    }

    public long getParkId() {
        return parkId;
    }

    public void setParkId(long parkId) {
        this.parkId = parkId;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getGroupName() {
        return groupName;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }
}
